AcquireODWindow
TheAcquireODWindow
method returns a reference to the window object corresponding to the specified platform-specific window.
ODWindow AcquireODWindow (in ODPlatformWindow aWindow);
aWindow
- A 32-bit value identifying a platform-specific window. On the Mac OS platform, this parameter is a window pointer (type
WindowPtr
).- return value
- A reference to the window object corresponding to the specified platform-specific window, or
kODNULL
if the window is not an OpenDoc window.DISCUSSION
OpenDoc calls this method.This method increments the reference count of the returned window. When the caller has finished using that window, it should call the window's
Release
method.SEE ALSO
TheODWindowState::IsODWindow
method (page 863).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help